package com.xcdh.test.provider;

import com.xcdh.test.entity.One;
import org.apache.ibatis.jdbc.SQL;

/**
 * OneProvider
 * Created by wjg on 2024/2/2.
 */
public class ManyProvider {

    public String queryByOneId(){
        return new SQL(){{
            SELECT("*").FROM("test_many").WHERE("one_id = #{oneId}") ;
        }}.toString() ;
    }

}
